home *** CD-ROM | disk | FTP | other *** search
- Path: news.nic.utwente.nl!news
- From: Bas Broers <B.P.Broers@student.utwente.nl>
- Newsgroups: comp.lang.c
- Subject: Borland in-line asm
- Date: Sun, 03 Mar 1996 15:45:02 +0100
- Organization: University of Twente, Enschede, The Netherlands
- Message-ID: <3139B06E.40C5@student.utwente.nl>
- NNTP-Posting-Host: cam051312.student.utwente.nl
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win95; I)
-
- Maybe a simple question, but how can i define a label in BASM (borland in-line assambler).
- For example this program
-
-
-
- void main(void)
- {
- asm {
-
- mov ax,0x0010
- mov cx,0x0010
- next: inc ax
- loop next
- }
- }
-
-
-
- Gives the error: Undefined label next
-
- Thanks: Bas Broers
-